﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Iesi.Collections;
using Iesi.Collections.Generic;

/// <summary>
/// Descripción breve de Paquete
/// </summary>
public class Paquete
{
    private System.String _nombre;
    private System.String _apellido;
    private System.String _cedula;
    private System.Double _sueldo;
    private System.Double _bono;
    private System.Double _sso;
    private System.Double _lph;
    private System.Double _paqtotal;

    public virtual System.String Nombre
    {
        get
        {
            return _nombre;
        }
        set
        {
            _nombre = value;
        }
    }
    
    public virtual System.String Apellido
    {
        get
        {
            return _apellido;
        }
        set
        {
            _apellido = value;
        }
    }

    public virtual System.String Cedula
    {
        get
        {
            return _cedula;
        }
        set
        {
            _cedula = value;
        }
    }

    public virtual System.Double Sueldo
    {
        get
        {
            return Convert.ToDouble(_sueldo.ToString("##.##"));
        }
        set
        {
            _sueldo = value;
        }
    }

    public virtual System.Double Bono
    {
        get
        {
            return _bono;
        }
        set
        {
            _bono = value;
        }
    }

    public virtual System.Double SSO
    {
        get
        {
            return Convert.ToDouble(_sso.ToString("##.##"));
        }
        set
        {
            _sso = value;
        }
    }

    public virtual System.Double LPH
    {
        get
        {
            return Convert.ToDouble(_lph.ToString("##.##"));
        }
        set
        {
            _lph = value;
        }
    }

    public virtual System.Double PaqTotal
    {
        get
        {
            return Convert.ToDouble(_paqtotal.ToString("##.##"));
            
        }
        set
        {
            _paqtotal = value;
        }
    }


}
